package com.cleaningcloud.cld.api.domain;

import com.cleaningcloud.common.core.annotation.Excel;
import com.cleaningcloud.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 招聘计划对象 cld_recruit_plan
 *
 * @author cleaningcloud
 * @date 2024-10-23
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CldRecruitPlan extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 招聘计划ID
     */
    private Long recruitPlanId;

    /**
     * 项目ID
     */
    @Excel(name = "项目ID")
    private Long projectId;

    /**
     * 项目组ID
     */
    @Excel(name = "项目组ID")
    private Long projectGroupId;

    /**
     * 招聘负责人ID
     */
    @Excel(name = "招聘负责人ID")
    private Long recruitLeadingId;

    /**
     * 招聘开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "招聘开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 招聘结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "招聘结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 招聘计划状态(1招聘中2已结束)
     */
    @Excel(name = "招聘计划状态(0未开始1招聘中2已结束)")
    private Long recruitPlanStatus;

    /**
     * 计划招聘人数
     */
    @Excel(name = "计划招聘人数")
    private int recruitPlanNumber;

    // 招聘金额 / 人
    private BigDecimal recruitMoney;

    /**
     * 招聘描述
     */
    @Excel(name = "招聘描述")
    private String recruitPlanDesc;

    /**
     * 创建人ID
     */
    @Excel(name = "创建人ID")
    private Long createId;

    /**
     * 创建人名称
     */
    @Excel(name = "创建人名称")
    private String createName;

    /**
     * 备注是否关闭
     */
    @Excel(name = "备注是否关闭")
    private Long flag;


}
